package com.huika.dealontop.support.http;

import java.io.Serializable;

public class RequestResult<T> implements Serializable {
    public String url;// 请求地址
    /**
     * 提示信息
     */
    public String msg;
    /**
     * 请求状态, 0失败，1成功
     */
    public int flag;
    // http请求头里返回的时间,可能为空
    public String dateStr;
    //
    public int sort;

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    /**
     * 数据总数
     */
    private int totalSize;

    public T getBanner() {
        return banner;
    }

    public void setBanner(T banner) {
        this.banner = banner;
    }

    private T rs;
    private T banner;

    public T getRs() {
        return rs;
    }

    public void setRs(T rs) {
        this.rs = rs;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }

}
